package com.lcq.demo.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lcq.demo.common.entity.PageInfo;
import lombok.Data;
import java.util.Date;

/**
 * @author 240701005
 */
@Data
public class NewsDTO extends PageInfo {

    private Long id;

    private String newsTitle;

    private String newsContent;

    private Integer newsStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date newsTime;

    private Date startTime;

    private Date endTime;
}

